<%-- 
    Document   : editcity
    Created on : Nov 2, 2012, 1:37:34 PM
    Author     : Nguyen Hung
--%>




<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="../css/popup.css"/>
        <link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>

    </head>
    <script type="text/javascript">
        var open_cur = 0;
        $j = jQuery.noConflict();
        $j(document).ready(function(){

           
            validateform("form-input-customer");
        });

    </script>
    
    <style type="text/css">
        #ui-datepicker-div
        {
            z-index: 9999999;
        }
        .form_item_content{
            float: left;
            margin-left: 10px;
            margin-top: 9px !important;
            width: 100%;
        }

    </style>
    <f:view>
        <h:form id="form-input-customer" >
            <body style=" float:left; width:auto; height:auto; margin:0px;">
                <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>

                <div class="popup" style="height:330px; width:367px">
                    <div class="popup-header">
                        <div class="title"><h:outputText value="Dịch vụ"/> </div>
                    </div>
                    <div class="popup-content">
                        <div class="main_content">
                            <div class="form_item_content" style="margin-top: 0px !important;" >

                                <div class="item_content" style="display:block">
                                    <div class="fields_input">
                                        <label><h:outputText value=" Thành phố "/><span>*:&nbsp;</span></label>                                                
                                        <h:inputText value="#{a000Controller.av001}" style="width:202px;" styleClass="required" id="cusname" />

                                    </div>
                                    <div class="fields_input">
                                        <label><h:outputText value=" Tỉnh/TP "/><span>:&nbsp; </span></label>                                                
                                        <h:inputText value="#{a000Controller.av002}" style="width:202px;" id="cusname11"  />

                                    </div>
                                    <div class="fields_input">
                                        <label><h:outputText value=" Quốc gia "/><span>:&nbsp; </span></label>                                                
                                        <h:selectOneMenu value="#{a000Controller.fn750}" style="width:202px;">
                                            <f:selectItems value="#{a000Controller.combolistN750}"/>
                                        </h:selectOneMenu>

                                    </div>
                                    <div class="fields_input">
                                        <label style="text-align:left; margin-left:21px"><h:outputText value="#{locale.description}"/> </label>
                                        <h:inputTextarea value="#{a000Controller.av003}"  style="height:70px; width:300px; margin-left:25px"  ></h:inputTextarea>

                                    </div>

                                </div>

                            </div>
                                        <div class="alert" style="margin-left: 101px;"></div>
                        </div>

                    </div>

                    <div class="popup-footer">

                        <div class="buttonsave" style="margin-right: 33px;"  onclick="parent.jQuery.fancybox.close(); "  ><span><h:outputText value="#{locale.close}"/></span></div>
                        <h:commandButton   onclick="return validatecheck('form-input-customer');"  action="#{a000Controller.updateA000}" value="#{locale.save}" styleClass="buttonsave">

                        </h:commandButton>

                        <h:inputHidden value="#{a000Controller.pa000}" id="PA000"/>
                    </div>

                </div>
            </body>
        </h:form>
    </f:view>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>

